import React from 'react'
interface Istate{
  totalnum:number,
  totalprice:number
}
export default function Footer({totalprice,totalnum}:Istate) {
  return (
    <div className='tr'>
      <div className="td">
                <div></div>
                <div></div>
                <div>商品总量{(totalnum).toFixed(2)}</div>
                <div>商品合计{(totalprice).toFixed(2)}</div>
                <div></div>
        </div>
    </div>
  )
}
